package com.mrd.gtimp.order.repository;

import com.mrd.gtimp.business.entity.Declaration;
import com.mrd.gtimp.order.entity.DeclaContainer;
import com.mrd.spring.repository.BaseRepository;

import java.util.List;

/**
 * Created by lenovo on 2016/9/20.
 */

/**
 * 数据操作层 集装箱
 *
 * @author zyy
 */
public interface DeclaContainerDao extends BaseRepository<DeclaContainer, String> {
    List<DeclaContainer> findByDeclaration(Declaration declaration);

    int countByDeclarationId(String declarationId);
}
